
package com.fly.datasyn.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.fly.core.entity.Page;
import com.fly.datasyn.entity.Health;

public interface HealthService
{
    Health get(Long id);
    
    void saveOrUpdate(Health health);
    
    void delete(Long id);
    
    List<Health> findAll(Page page);
    
    List<Health> findByExample(Specification<Health> specification, Page page);
}
